
package com.lvmama.pangolin.mybatis.mapper.qnr;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.qnr.QNRTicketProduct;
import com.lvmama.pangolin.entity.spider.TicketProduct;
import com.lvmama.pangolin.entity.xc.XCTicketProduct;

public interface QNRTicketProductMapper
{

	int deleteByPrimaryKey(String id);

	int deleteByByProdId(String product_id);

	int insert(QNRTicketProduct record);

	int insertSelective(QNRTicketProduct record);

	QNRTicketProduct selectByPrimaryKey(String id);

	QNRTicketProduct selectByProdId(@Param(value="productId")String productId);

	int updateByPrimaryKeySelective(QNRTicketProduct record);
	
	int updateByProdIdSelective(QNRTicketProduct record);

	int updateByPrimaryKey(QNRTicketProduct record);
	
	List<QNRTicketProduct> getAllList(ProductConditionVO pc);


	
	List<QNRTicketProduct> selectByName(String name);
	List<QNRTicketProduct> selectAll();

	List<QNRTicketProduct> selectByUrl(String url);
	
	public int insert(TicketProduct record);
	
	public int insertSelective(TicketProduct record);
	
	public void updateByProdId(@Param("productId")String productId);
	
	public void deleteLinkByProdId(@Param("productId")String productId);
}
